<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>JavaScript脚本练习</title>
  <script src="hello.js"></script>
</head>

<body>
  <P ID="demo" onclick="javascript:alert('Hello!');">单击这段文字！</p>
  <script>
    console.log('hello')
  </script>
</body>

</html>
